package cc.webmania.android.akeletbolcsessege;

import android.util.Log;


public class RLog {

	private static boolean off = false;
	private static String tag = "aKeletB";
	
	public static void d(String msg) {
		if(off) return;
		Log.d(tag, stack()+msg);
	}

	private static String stack() {
		StackTraceElement[] st = Thread.currentThread().getStackTrace();
		return st[4].getMethodName()+"():"+st[4].getLineNumber()+" - ";
	}
	
}
